using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using RazorTs.analysis;
using RazorTs.TemplateAxios;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace test
{
    public class Program
    {
        public static void Main(string[] args)
        {
            //Entry.Start(
            //   typeof(Program),
            //   TemplateMethod.TemplateTwo,
            //   TemplateInterface.TemplateTwo,
            //   TemplateEnum.TemplateTwo,
            //   AnalysisType.GenericsType,
            //   @"D:\ApiFile1\api" + $"", Entry.AppendString
            //   );
            CreateHostBuilder(args).Build().Run();
        }

        public static IHostBuilder CreateHostBuilder(string[] args) =>
            Host.CreateDefaultBuilder(args)
                .ConfigureWebHostDefaults(webBuilder =>
                {
                    webBuilder.UseStartup<Startup>();
                });
    }
}
